package com.freecloud.whispered.auth.repository;

import com.freecloud.framework.repository.BaseDao;
import com.freecloud.whispered.auth.entity.SysUserEntity;
import com.freecloud.whispered.auth.entity.SysUserTokenEntity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 系统用户
 * 
 * @author maomao
 * @email 138383877@qq.com
 */
@Repository
public interface SysUserTokenDao extends BaseDao<SysUserTokenEntity,Long> {

	SysUserTokenEntity findByToken(String token);
}
